import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {path:'/',redirect:'/Tags'},
    { path: '/Tags', component: () => import('@/views/TagsCenter.vue'),name: 'TagsCenter' },
    { path: '/Text', component: () => import('@/views/TextCenter.vue'),name: 'TextCenter' },
    { path: '/User', component: () => import('@/views/UserCenter.vue'),name: 'UserCenter' }
  ],
})

export default router
